home *** CD-ROM | disk | FTP | other *** search
- -- card: 4587 from stack: in
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 2478
- -- name:
- ----- HyperTalk script -----
- on openCard
- if cd fld "credit" is empty then
- pop card
- else
- repeat with i = 1 to the number of cd flds
- delete line 1 to 25 of cd fld i
- end repeat
- repeat with x = 1 to the number of lines of cd fld "credit"
- put line x of cd fld "credit" into temp
- put formatNum (temp,1,1) into line x of cd fld "credit"
- end repeat
- repeat with x = 1 to the number of lines of cd fld "debit"
- put line x of cd fld "debit" into var
- put formatNum (var,1,1) into line x of cd fld "debit"
- end repeat
- end if
- end openCard
-
-
-
- -- part 4 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=1 top=0 right=325 bottom=86
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: date
-
-
- -- part 5 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=86 top=0 right=325 bottom=171
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 65535
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: invoice#
-
-
- -- part 6 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=171 top=0 right=325 bottom=256
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 65535
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: check#
-
-
- -- part 7 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=256 top=0 right=325 bottom=341
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 65535
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: datePaid
-
-
- -- part 8 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=341 top=0 right=325 bottom=426
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 65535
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: debit
-
-
- -- part 9 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=426 top=0 right=325 bottom=510
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 65535
- -- font id: 3
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: credit
-